package com.ving.test.mybatis01.session;

import com.ving.test.mybatis01.Configuration01;
import com.ving.test.mybatis01.excutor.SimpleExecutor01;

/**
 * Created by liuweijie on 2019-11-19.
 */
public class SqlSessionFactory01 {

    public SqlSession01 openSession(Configuration01 configuration01){

        return new DefaultSqlSeesion01(configuration01,new SimpleExecutor01(configuration01));
    }
}
